package com.ltkj.ticket.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ltkj.common.core.annotation.Excel;
import com.ltkj.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.sql.Time;

/**
 * 方案时间段对象 tic_venues_programme_period
 * 
 * @author ruoyi
 * @date 2023-09-05
 */
public class TicVenuesProgrammePeriod extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 方案时间id */
    private Long programmePeriodId;

    /** 数据状态 */
    @Excel(name = "数据状态")
    private String isDel;

    /** 场馆id */
    @Excel(name = "场馆id")
    private Long ticOtherBaseId;

    /** 方案id */
    @Excel(name = "方案id")
    private Long venuesProgrammeId;

    /** 开始时间 */
    @JsonFormat(pattern = "HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "HH:mm:ss")
    private Time periodTimeStart;

    /** 结束时间 */
    @JsonFormat(pattern = "HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "HH:mm:ss")
    private Time periodTimeEnd;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal periodPrice;

    /** 总库存 */
    @Excel(name = "总库存")
    private Long periodStockCount;

    public void setProgrammePeriodId(Long programmePeriodId) 
    {
        this.programmePeriodId = programmePeriodId;
    }

    public Long getProgrammePeriodId() 
    {
        return programmePeriodId;
    }
    public void setIsDel(String isDel) 
    {
        this.isDel = isDel;
    }

    public String getIsDel() 
    {
        return isDel;
    }
    public void setTicOtherBaseId(Long ticOtherBaseId) 
    {
        this.ticOtherBaseId = ticOtherBaseId;
    }

    public Long getTicOtherBaseId() 
    {
        return ticOtherBaseId;
    }
    public void setVenuesProgrammeId(Long venuesProgrammeId)
    {
        this.venuesProgrammeId = venuesProgrammeId;
    }

    public Long getVenuesProgrammeId()
    {
        return venuesProgrammeId;
    }
    public void setPeriodTimeStart(Time periodTimeStart)
    {
        this.periodTimeStart = periodTimeStart;
    }

    public Time getPeriodTimeStart()
    {
        return periodTimeStart;
    }
    public void setPeriodTimeEnd(Time periodTimeEnd)
    {
        this.periodTimeEnd = periodTimeEnd;
    }

    public Time getPeriodTimeEnd()
    {
        return periodTimeEnd;
    }
    public void setPeriodPrice(BigDecimal periodPrice) 
    {
        this.periodPrice = periodPrice;
    }

    public BigDecimal getPeriodPrice() 
    {
        return periodPrice;
    }
    public void setPeriodStockCount(Long periodStockCount) 
    {
        this.periodStockCount = periodStockCount;
    }

    public Long getPeriodStockCount() 
    {
        return periodStockCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("programmePeriodId", getProgrammePeriodId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isDel", getIsDel())
            .append("ticOtherBaseId", getTicOtherBaseId())
            .append("venuesProgrammeId", getVenuesProgrammeId())
            .append("periodTimeStart", getPeriodTimeStart())
            .append("periodTimeEnd", getPeriodTimeEnd())
            .append("periodPrice", getPeriodPrice())
            .append("periodStockCount", getPeriodStockCount())
            .toString();
    }
}
